projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdf48b0
)
acm: Restrict the XML of the policy to only allow one
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 1 Apr 2009 10:44:10 +0000
(11:44 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 1 Apr 2009 10:44:10 +0000
(11:44 +0100)
SimpleTypeEnforcementType node.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/util/acmpolicy.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/util/acmpolicy.py
b/tools/python/xen/util/acmpolicy.py
index 64978a68dc802ded4d3b91495c39bf354eb7693d..1a95c3a2d5d77aa5f3ae6b84bb0ee987454be2f0 100644
(file)
--- a/
tools/python/xen/util/acmpolicy.py
+++ b/
tools/python/xen/util/acmpolicy.py
@@
-216,7
+216,7
@@
ACM_SCHEMA="""<?xml version="1.0" encoding="UTF-8"?>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Name" type="NameWithFrom"></xsd:element>
- <xsd:element ref="SimpleTypeEnforcementTypes" minOccurs="0" maxOccurs="
unbounded
" />
+ <xsd:element ref="SimpleTypeEnforcementTypes" minOccurs="0" maxOccurs="
1
" />
<xsd:element ref="ChineseWallTypes" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>